package com.dm.dao;

import com.dm.pojo.DmItemCinema;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmItemCinemaMapper {

	public DmItemCinema getDmItemCinemaById(@Param(value = "id") Long id)throws Exception;

	public List<DmItemCinema>	getDmItemCinemaListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmItemCinemaCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmItemCinema(DmItemCinema dmItemCinema)throws Exception;

	public Integer updateDmItemCinema(DmItemCinema dmItemCinema)throws Exception;

	public Integer deleteDmItemCinemaById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmItemCinema(Map<String, List<String>> params);

}